package waitNotifyDemo;

import java.util.concurrent.locks.Lock;

public class StatusControl {
/*
* 作用：控制生产者和消费者的执行
*
* */
    //是否存在消息，0：无消息；1：有消息
    public static int status = 0;

    //总个数
    public static int total = 100;

    //锁
    public static Object lock = new Object();
}
